import Vue from 'vue'
import {
  Select,
  Option,
  OptionGroup,
  Input,
  InputNumber,
  Radio,
  Tree,
  Dialog,
  Row,
  Col,
  Checkbox,
  CheckboxButton,
  CheckboxGroup,
  Cascader,
  Switch,
  Slider,
  TimeSelect,
  TimePicker,
  DatePicker,
  Upload,
  Rate,
  ColorPicker,
  Transfer,
  Form,
  FormItem,
  Table,
  TableColumn,
  Tag,
  Button,
  Progress,
  Pagination,
  Badge,
  Avatar,
  Alert,
  Menu,
  MenuItemGroup,
  MenuItem,
  Submenu,
  RadioGroup,
  RadioButton,
  Timeline,
  TimelineItem,
  Drawer

} from 'element-ui'

Vue.use(Select)
Vue.use(Option)
Vue.use(OptionGroup)
Vue.use(Input)
Vue.use(InputNumber)
Vue.use(Radio)
Vue.use(Tree)
Vue.use(Dialog)
Vue.use(Row)
Vue.use(Col)
Vue.use(Checkbox)
Vue.use(CheckboxButton)
Vue.use(CheckboxGroup)
Vue.use(Cascader)
Vue.use(Switch)
Vue.use(Slider)
Vue.use(TimePicker)
Vue.use(TimeSelect)
Vue.use(DatePicker)
Vue.use(Upload)
Vue.use(Rate)
Vue.use(ColorPicker)
Vue.use(Transfer)
Vue.use(Form)
Vue.use(FormItem)
Vue.use(Table)
Vue.use(TableColumn)
Vue.use(Tag)
Vue.use(Button)
Vue.use(Progress)
Vue.use(Pagination)
Vue.use(Badge)
Vue.use(Avatar)
Vue.use(Alert)
Vue.use(Loading)
Vue.use(Menu)
Vue.use(MenuItem)
Vue.use(MenuItemGroup)
Vue.use(Submenu)
Vue.use(RadioGroup)
Vue.use(RadioButton)
Vue.use(TimelineItem)
Vue.use(Timeline)
Vue.use(Drawer)
import Message from "message";
Vue.prototype.$message=Message
import { MessageBox } from 'element-ui';
Vue.prototype.$confirm=MessageBox.confirm
